﻿namespace Core.Domain.ValueObjects;

public record Avatar
{
    public Avatar() { }
    public Avatar(string url,string contentType) 
    {
        Url = url;
        ContentType = contentType;
    }
    public string? Url { get; }
    public string? ContentType { get; }

    public bool IsEmpty => string.IsNullOrWhiteSpace(Url);
}
